package com.dongdongshop.service.impl.provinces;

import com.alibaba.dubbo.config.annotation.Service;
import com.dongdongshop.mapper.TbProvincesMapper;
import com.dongdongshop.pojo.provinces.TbProvinces;
import com.dongdongshop.service.provinces.ProvincesService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
@org.springframework.stereotype.Service
public class ProvincesServiceImpl implements ProvincesService {
    @Autowired
    private TbProvincesMapper tbProvincesMapper;

    @Override
    public List<TbProvinces> listProvinces() {
        return tbProvincesMapper.selectByExample(null);
    }
}
